package com.mbyte.easy.common.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * @ClassNameStateDic
 * @Description 状态字典表
 * @Author myr
 * @Date 2019/12/10 10:44
 * @Version 1.0
 **/
public class StateDic {

    //写手已保存
    public final static int Save = 1000;
    //写手已提交
    public final static int Submit = 1001;
    //互查伙伴已经通过
    public final static int Partner_Pass = 1002;
    //版块负责人已通过
    public final static int Block_Leader_Pass = 1003;
    //稿件校对组长已分配
    public final static int Draft_Allocated = 1004;
    //稿件校对人已通过
    public final static int Draft_Checker_Pass = 1005;
    //稿件校对组长已通过
    public final static int Draft_Check_Leader_Pass = 1006;
    //稿件终审人已通过
    public final static int Draft_Final_Reviewer_Pass = 1007;

    //互查伙伴拒绝
    public static final int Partner_Reject = 2002;
    //板块负责人拒绝
    public static final int Block_Leader_Reject = 2003;
    //稿件校对人拒绝
    public static final int Draft_Checker_Reject = 2005;
    //稿件校对组长拒绝
    public static final int Draft_Check_Leader_Reject = 2006;
    //稿件终审人拒绝
    public static final int Draft_Final_Reviewer_Reject = 2007;

    public static final Map stateDic(){
        Map<Integer,String> stateDic = new HashMap<>();
        stateDic.put(Save,"写手已保存");
        stateDic.put(Submit,"写手已提交");
        stateDic.put(Partner_Pass,"互查伙伴已经通过");
        stateDic.put(Block_Leader_Pass,"版块负责人已通过");
        stateDic.put(Draft_Allocated,"稿件校对组长已分配");
        stateDic.put(Draft_Checker_Pass,"稿件校对人已通过");
        stateDic.put(Draft_Check_Leader_Pass,"稿件校对组长已通过");
        stateDic.put(Draft_Final_Reviewer_Pass,"稿件终审人已通过");
        stateDic.put(Partner_Reject,"互查伙伴驳回");
        stateDic.put(Block_Leader_Reject,"板块负责人驳回");
        stateDic.put(Draft_Checker_Reject,"稿件校对人驳回");
        stateDic.put(Draft_Check_Leader_Reject,"稿件校对组长驳回");
        stateDic.put(Draft_Final_Reviewer_Reject,"稿件终审人驳回");
        //6队
        stateDic.put(PARTTIME_SIX_SUBMIT,"6队兼职已提交");
        stateDic.put(CHECKER_SIX_PASS,"6队对接人已通过");
        stateDic.put(BLOCK_SIX_PASS,"6队板块负责人已通过");
        stateDic.put(CHECKER_SIX_REFUSE,"6队对接人已拒绝");
        stateDic.put(BLOCK_SIX_REFUSE,"6队板块负责人已拒绝");
        stateDic.put(FINAL_CHECK_SIX_SUCCESS,"稿件终审人已通过");

        stateDic.put(BLOCK_SEVEN_PASS,"7队板块负责人通过");
        stateDic.put(DRAFT_ALLOCATED_SEVEN,"7队组长校对人已分配");
        stateDic.put(SEVEN_CHECKER_PASS,"七队组员通过");
        stateDic.put(SEVEN_CHECKER_REJECT,"七队组员拒绝");
        stateDic.put(SEVEN_LEADER_FILTER,"七队组长拒绝");
        stateDic.put(SEVEN_LEADER_SUCCESS,"七队组长成功");

        return stateDic;
    }

    public final static int refuse = 222;
    /**
     * 6队流程
     */
    //6队兼职已提交
    public final static int PARTTIME_SIX_SUBMIT = 601;
    //6队对接人已通过
    public final static int CHECKER_SIX_PASS = 602;
    //6队板块负责人已通过
    public final static int BLOCK_SIX_PASS = 1040;
    //6队对接人已拒绝
    public final static int CHECKER_SIX_REFUSE = 612;
    //6队板块负责人已拒绝
    public final static int BLOCK_SIX_REFUSE = 613;
    //稿件终审人已通过
    public final static int FINAL_CHECK_SIX_SUCCESS = 1607;
    //稿件终审人已通过
    public final static int FINAL_CHECK_SIX_REFUSE = 2607;
    /**
     * 七队流程
     */
    //七队板块负责人通过
    public final static int BLOCK_SEVEN_PASS = 1041;
    //七队组长分配
    public static final int DRAFT_ALLOCATED_SEVEN = 1042;
    //七队组员通过
    public static final int SEVEN_CHECKER_PASS = 1043;
    //七队组员拒绝
    public static final int SEVEN_CHECKER_REJECT = 2040;
    //七队组长拒绝
    public static final int SEVEN_LEADER_FILTER = 2041;
    //七队组长通过
    public static final int SEVEN_LEADER_SUCCESS = 1044;

    //-1
    public static final int NULL = -1;

}
